projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff593d9
)
* src/comp.c (emit_static_object): Make use of ARRAYELTS.
author
Andrea Corallo
<akrl@sdf.org>
Fri, 11 Sep 2020 12:57:11 +0000
(14:57 +0200)
committer
Andrea Corallo
<akrl@sdf.org>
Fri, 11 Sep 2020 13:04:34 +0000
(15:04 +0200)
src/comp.c
patch
|
blob
|
history
diff --git
a/src/comp.c
b/src/comp.c
index 1ef4f3054b1e4af8d975e8d17a893bd9a208ac66..b3640b5e378a1ba40a0dbf2a51267a5d5160a609 100644
(file)
--- a/
src/comp.c
+++ b/
src/comp.c
@@
-2549,7
+2549,7
@@
emit_static_object (const char *name, Lisp_Object obj)
gcc_jit_context_new_struct_type (comp.ctxt,
NULL,
format_string ("%s_struct", name),
-
2
, fields));
+
ARRAYELTS (fields)
, fields));
gcc_jit_lvalue *data_struct =
gcc_jit_context_new_global (comp.ctxt,